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
-
#initialize(name) ⇒ SnapshotDef
constructor
A new instance of SnapshotDef.
Constructor Details
#initialize(name) ⇒ SnapshotDef
Returns a new instance of SnapshotDef
9 10 11 |
# File 'lib/nanoc/base/entities/snapshot_def.rb', line 9 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
6 7 8 |
# File 'lib/nanoc/base/entities/snapshot_def.rb', line 6 def name @name end |