class AABeginnerTestGem::AABeginner
Public Instance Methods
devide(x, y)
click to toggle source
# File lib/AABeginnerTestGem.rb, line 10 def devide(x, y) x / y end
fillTabString(word)
click to toggle source
# File lib/AABeginnerTestGem.rb, line 14 def fillTabString(word) word.to_s.split(' ') end
lengthTab(tab)
click to toggle source
# File lib/AABeginnerTestGem.rb, line 22 def lengthTab(tab) puts "#{tab.length}" end
printName(name)
click to toggle source
# File lib/AABeginnerTestGem.rb, line 6 def printName(name) puts "#{name.to_s}" end
printTab(tab)
click to toggle source
# File lib/AABeginnerTestGem.rb, line 18 def printTab(tab) puts "#{tab}" end