Class: Disposable::Twin::Definition

Inherits:
Declarative::Definitions::Definition
  • Object
show all
Defined in:
lib/disposable/twin/definitions.rb

Instance Method Summary collapse

Instance Method Details

#getterObject



3
4
5
# File 'lib/disposable/twin/definitions.rb', line 3

def getter
  self[:name]
end

#setterObject



7
8
9
# File 'lib/disposable/twin/definitions.rb', line 7

def setter
  "#{self[:name]}="
end