arrange indent
parent
f2434a4c5a
commit
6ff9590f48
|
@ -1,9 +1,9 @@
|
|||
class MechanizeCr::FormContent::Field
|
||||
getter :node
|
||||
property value : String?
|
||||
getter name : String
|
||||
getter type : String
|
||||
getter raw_value : String?
|
||||
getter node : Node | Myhtml::Node
|
||||
|
||||
def initialize(node : Node | Myhtml::Node, value=nil)
|
||||
@node = node
|
||||
|
|
|
@ -2,9 +2,9 @@ require "./option"
|
|||
|
||||
class MechanizeCr::FormContent::MultiSelectList
|
||||
getter node : Myhtml::Node
|
||||
property values : Array(String)
|
||||
getter name : String
|
||||
getter type : String
|
||||
property values : Array(String)
|
||||
property options : Array(FormContent::Option)
|
||||
|
||||
def initialize(node : Myhtml::Node)
|
||||
|
|
|
@ -4,6 +4,7 @@ class MechanizeCr::FormContent::Option
|
|||
getter text : String
|
||||
getter value : String
|
||||
getter selected : Bool
|
||||
|
||||
def initialize(node, select_list)
|
||||
@node = node
|
||||
@text = node.inner_text
|
||||
|
|
Loading…
Reference in New Issue