Class: ValueObject::Base

Inherits:
Object
  • Object
show all
Extended by:
DSL
Defined in:
lib/value_object/base.rb

Overview

Rubocop wants me to document you

Instance Attribute Summary collapse

Attributes included from DSL

#all

Instance Method Summary collapse

Methods included from DSL

find

Constructor Details

#initialize(key) ⇒ Base

Returns a new instance of Base.



8
9
10
# File 'lib/value_object/base.rb', line 8

def initialize(key)
  @key = key
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



6
7
8
# File 'lib/value_object/base.rb', line 6

def key
  @key
end