Class: Koi::Helpers::AttributeTypes::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/koi/helpers/attribute_types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute) ⇒ Base

Returns a new instance of Base.



9
10
11
# File 'lib/generators/koi/helpers/attribute_types.rb', line 9

def initialize(attribute)
  @attribute = attribute
end

Instance Attribute Details

#attributeObject (readonly)

Returns the value of attribute attribute.



7
8
9
# File 'lib/generators/koi/helpers/attribute_types.rb', line 7

def attribute
  @attribute
end

Instance Method Details

#collection_attributeObject



25
26
27
# File 'lib/generators/koi/helpers/attribute_types.rb', line 25

def collection_attribute
  nil
end

#govuk_inputObject



13
14
15
# File 'lib/generators/koi/helpers/attribute_types.rb', line 13

def govuk_input
  nil
end

#index_rowObject



17
18
19
# File 'lib/generators/koi/helpers/attribute_types.rb', line 17

def index_row
  nil
end

#show_rowObject



21
22
23
# File 'lib/generators/koi/helpers/attribute_types.rb', line 21

def show_row
  nil
end