Top Level Namespace
Defined Under Namespace
Instance Method Summary collapse
- #eql(eqlone, eqltwo, eqlcode) ⇒ Object
- #gets ⇒ Object
- #minus(minusone, minustwo, minuscode) ⇒ Object
- #plus(plusone, plustwo, pluscode) ⇒ Object
- #puts ⇒ Object
Instance Method Details
#eql(eqlone, eqltwo, eqlcode) ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/core4sk.rb', line 29 def eql(eqlone,eqltwo,eqlcode) if eqlone == eqltwo eqlcode end end |
#gets ⇒ Object
7 8 9 |
# File 'lib/core4sk.rb', line 7 def gets puts end |
#minus(minusone, minustwo, minuscode) ⇒ Object
44 45 46 47 48 |
# File 'lib/core4sk.rb', line 44 def minus(minusone,minustwo,minuscode) if minusone < minustwo minuscode end end |
#plus(plusone, plustwo, pluscode) ⇒ Object
37 38 39 40 41 42 43 |
# File 'lib/core4sk.rb', line 37 def plus(plusone,plustwo,pluscode) if plusone > plustwo pluscode end end |
#puts ⇒ Object
4 5 6 |
# File 'lib/core4sk.rb', line 4 def puts puts end |