sig/render/text/helper/boolean.rbs in render-text-helper-0.2.0 vs sig/render/text/helper/boolean.rbs in render-text-helper-0.3.0
- old
+ new
@@ -2,16 +2,20 @@
module Text
module Helper
class TrueClass
def to_yn: (capital_letter: bool) -> String
- def to_yes_no: (capital_letter: bool) -> String
+ def to_yes_no: (casting: Symbol) -> String
+
+ def to_i: -> Integer
end
class FalseClass
def to_yn: (capital_letter: bool) -> String
- def to_yes_no: (capital_letter: bool) -> String
+ def to_yes_no: (casting: Symbol) -> String
+
+ def to_i: -> Integer
end
end
end
end