Module: Hanzawa
- Defined in:
- lib/hanzawa.rb,
lib/hanzawa/version.rb
Constant Summary collapse
- VERSION =
"0.0.3"
Instance Method Summary collapse
Instance Method Details
#baigaeshida(arg) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/hanzawa.rb', line 14 def baigaeshida(arg) if arg.class == Fixnum || arg.class == Float || arg.class == String arg * @x else nil end end |
#initialize ⇒ Object
4 5 6 |
# File 'lib/hanzawa.rb', line 4 def initialize @x = 2 end |
#setXBai=(x) ⇒ Object
8 9 10 11 12 |
# File 'lib/hanzawa.rb', line 8 def setXBai=(x) if x.class == Fixnum || x.class == Float @x = x end end |