arrange indent

master
Kanezoh 2021-07-15 09:00:23 +09:00
parent f2434a4c5a
commit 6ff9590f48
4 changed files with 20 additions and 19 deletions

View File

@ -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

View File

@ -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)

View File

@ -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