Class: Reviewable::EditableFields::Field
- Inherits:
-
Item
- Object
- Item
- Reviewable::EditableFields::Field
- Defined in:
- lib/reviewable/editable_fields.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(id, type) ⇒ Field
constructor
A new instance of Field.
- #server_action ⇒ Object
Constructor Details
#initialize(id, type) ⇒ Field
Returns a new instance of Field.
8 9 10 11 |
# File 'lib/reviewable/editable_fields.rb', line 8 def initialize(id, type) super(id) @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
6 7 8 |
# File 'lib/reviewable/editable_fields.rb', line 6 def type @type end |
Instance Method Details
#server_action ⇒ Object
13 14 15 |
# File 'lib/reviewable/editable_fields.rb', line 13 def server_action id end |