Class: Crimson::Input
- Defined in:
- lib/crimson/widgets/input.rb
Instance Attribute Summary
Attributes inherited from Object
#added_children, #event_handlers, #id, #node, #removed_children, #tag
Attributes inherited from Model
#local, #observers, #revision_number, #revisions
Instance Method Summary collapse
-
#initialize(type) ⇒ Input
constructor
A new instance of Input.
Methods inherited from Object
#==, #add, #breadth_each, #children, #commit_tree!, #eql?, #find_descendant, #hash, #hidden?, #hide, #inspect, #move, #on, #on_event, #parent, #parent=, #postordered_each, #preordered_each, #remove, #root, #show, #shown?, #siblings, #to_s, #un
Methods inherited from Model
#add_observer, #apply_changes!, #changed?, #changes, #commit!, #master, #modify, #new_changes, #notify_observers, #reload!, #remove_observer, #rollback!
Constructor Details
#initialize(type) ⇒ Input
Returns a new instance of Input.
5 6 7 8 |
# File 'lib/crimson/widgets/input.rb', line 5 def initialize(type) super(:input) self.type = type end |