Class: Twirly::Commands::FetchUser
- Defined in:
- lib/twirly/commands/fetch_user.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Twirly::Commands::Base
Instance Method Details
#run ⇒ Object
4 5 6 |
# File 'lib/twirly/commands/fetch_user.rb', line 4 def run (Twirly::Compiler.new).fetch_user Twirly::User.find_by_username(args.first) end |