Class: Nanoc::Int::SnapshotDef
- Inherits:
-
Object
- Object
- Nanoc::Int::SnapshotDef
- Defined in:
- lib/nanoc/base/entities/snapshot_def.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#final? ⇒ Boolean
-
#initialize(name, is_final) ⇒ SnapshotDef
constructor
A new instance of SnapshotDef.
Constructor Details
#initialize(name, is_final) ⇒ SnapshotDef
Returns a new instance of SnapshotDef
6 7 8 9 |
# File 'lib/nanoc/base/entities/snapshot_def.rb', line 6 def initialize(name, is_final) @name = name @is_final = is_final end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
4 5 6 |
# File 'lib/nanoc/base/entities/snapshot_def.rb', line 4 def name @name end |
Instance Method Details
#final? ⇒ Boolean
11 12 13 |
# File 'lib/nanoc/base/entities/snapshot_def.rb', line 11 def final? @is_final end |