Module: KeyStruct

Defined in:
lib/key_struct/version.rb,
lib/key_struct/key_struct.rb

Constant Summary collapse

VERSION =
"0.4.2"

Class Method Summary collapse

Class Method Details

.accessor(*keys) ⇒ Object



7
8
9
# File 'lib/key_struct/key_struct.rb', line 7

def self.accessor(*keys)
  fetch_key_struct(:accessor, keys)
end

.reader(*keys) ⇒ Object



3
4
5
# File 'lib/key_struct/key_struct.rb', line 3

def self.reader(*keys)
  fetch_key_struct(:reader, keys)
end