Class: Nanoc::Int::SnapshotDef

Inherits:
Object
  • Object
show all
Defined in:
lib/nanoc/base/entities/snapshot_def.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name



6
7
8
# File 'lib/nanoc/base/entities/snapshot_def.rb', line 6

def name
  @name
end