class Cakeproto::MaybeInt
Public Instance Methods
has_value?()
click to toggle source
For backwards-compatibility and RSpec matchers.
# File lib/bucket_cake/proto_ext/maybe_int.rb, line 10 def has_value? has_value end
value_if_present()
click to toggle source
# File lib/bucket_cake/proto_ext/maybe_int.rb, line 5 def value_if_present value if has_value? end