class BeardedOctoHipster
Public Class Methods
new(banana=:fruit)
click to toggle source
# File lib/bearded-octo-hipster.rb, line 2 def initialize(banana=:fruit) "what is banana? it is #{banana}." end
Public Instance Methods
a_method()
click to toggle source
# File lib/bearded-octo-hipster.rb, line 11 def a_method some_things = ["bob", "mike", "fart"] some_things.pop end
name()
click to toggle source
# File lib/bearded-octo-hipster.rb, line 6 def name "BeardedOctoHipster" end