Skip to content

Instantly share code, notes, and snippets.

@drio
Created November 21, 2008 17:19
Show Gist options
  • Save drio/27512 to your computer and use it in GitHub Desktop.
Save drio/27512 to your computer and use it in GitHub Desktop.
lass Drio < Struct.new("Whatever", :fc_name)
def initialize
super @fc_name = Dir.pwd.split("/")[-1]
#@fc_name = Dir.pwd.split("/")[-1]
end
def show
@fc_name
end
end
ld = Drio.new
p ld.fc_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment