fix typo
parent
b32fbeab84
commit
ff6b9d0d94
|
@ -9,7 +9,7 @@ require "./form/select_list"
|
|||
require "./utils/element_matcher"
|
||||
|
||||
class MechanizeCr::Form
|
||||
include MechanzeCr::ElementMatcher
|
||||
include MechanizeCr::ElementMatcher
|
||||
|
||||
getter node : Node | Lexbor::Node
|
||||
getter fields : Array(FormContent::Field)
|
||||
|
|
|
@ -3,7 +3,7 @@ require "./utils/element_matcher"
|
|||
require "./page/link"
|
||||
|
||||
class MechanizeCr::Page < MechanizeCr::File
|
||||
include MechanzeCr::ElementMatcher
|
||||
include MechanizeCr::ElementMatcher
|
||||
delegate :css, to: parser
|
||||
|
||||
property mech : Mechanize
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
module MechanzeCr::ElementMatcher
|
||||
module MechanizeCr::ElementMatcher
|
||||
macro elements_with(singular, plural = "")
|
||||
{% plural = "#{singular.id}s" if plural.empty? %}
|
||||
def {{plural.id}}_with(criteria)
|
||||
|
|
Loading…
Reference in New Issue