Class: Expressir::Liquid::Declarations::SchemaVersionItemDrop

Inherits:
ModelElementDrop
  • Object
show all
Defined in:
lib/expressir/liquid/declarations/schema_version_item_drop.rb

Instance Method Summary collapse

Methods inherited from ModelElementDrop

#_class, #file, #source

Constructor Details

#initialize(model) ⇒ SchemaVersionItemDrop

Returns a new instance of SchemaVersionItemDrop.



7
8
9
10
# File 'lib/expressir/liquid/declarations/schema_version_item_drop.rb', line 7

def initialize(model)
  @model = model
  super
end

Instance Method Details

#nameObject



12
13
14
# File 'lib/expressir/liquid/declarations/schema_version_item_drop.rb', line 12

def name
  @model.name
end

#valueObject



16
17
18
# File 'lib/expressir/liquid/declarations/schema_version_item_drop.rb', line 16

def value
  @model.value
end