Class: Koi::Helpers::AttributeTypes::Base
- Inherits:
-
Object
- Object
- Koi::Helpers::AttributeTypes::Base
show all
- Defined in:
- lib/generators/koi/helpers/attribute_types.rb
Direct Known Subclasses
ArchivedType, AssociationType, AttachmentType, BooleanType, DateType, DatetimeType, EnumType, IntegerType, OrdinalType, RichTextType, StringType
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
#attribute ⇒ Object
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_attribute ⇒ Object
25
26
27
|
# File 'lib/generators/koi/helpers/attribute_types.rb', line 25
def collection_attribute
nil
end
|
13
14
15
|
# File 'lib/generators/koi/helpers/attribute_types.rb', line 13
def govuk_input
nil
end
|
#index_row ⇒ Object
17
18
19
|
# File 'lib/generators/koi/helpers/attribute_types.rb', line 17
def index_row
nil
end
|
#show_row ⇒ Object
21
22
23
|
# File 'lib/generators/koi/helpers/attribute_types.rb', line 21
def show_row
nil
end
|