class Yamatodamashii::YamatodamashiiMoshi

Public Class Methods

new(hantei) click to toggle source
# File lib/yamatodamashii/moshi.rb, line 8
def initialize(hantei)
  @hantei = hantei
end

Public Instance Methods

() click to toggle source
# File lib/yamatodamashii/moshi.rb, line 32
def 
  @kekka
end
それ以外だったら() { || ... } click to toggle source
# File lib/yamatodamashii/moshi.rb, line 25
def それ以外だったら
  return self if defined? @kekka
  return self if @hantei
  @kekka = yield
  self
end
だったら() { || ... } click to toggle source
# File lib/yamatodamashii/moshi.rb, line 12
def だったら
  return self if defined? @kekka
  return self unless @hantei
  @kekka = yield
  self
end
または(hantei) click to toggle source
# File lib/yamatodamashii/moshi.rb, line 19
def または(hantei)
  return self if @hantei
  @hantei = hantei
  self
end