Skip to content

Instantly share code, notes, and snippets.

@MSch
Created February 24, 2012 12:25
Show Gist options
  • Select an option

  • Save MSch/1900640 to your computer and use it in GitHub Desktop.

Select an option

Save MSch/1900640 to your computer and use it in GitHub Desktop.
class App < Thor
def help
puts 'blabla'
end
end
Dir.glob('commands/*.rb').each { |f| require f }
module ROF::Commands
class PushCommand
def execute
end
end
end
class App
def push
ROF::Commands::PushCommand.new.execute
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment