lib/troo/cli/commands/show.rb in troo-0.0.13 vs lib/troo/cli/commands/show.rb in troo-0.0.14
- old
+ new
@@ -3,18 +3,18 @@
class Show
attr_reader :id, :type
class << self
# @param []
- # @param []
+ # @param [, NilClass]
# @return [String]
def dispatch(klass, id = nil)
new(klass, id).render
end
end
# @param []
- # @param []
+ # @param [, NilClass]
# @return [Troo::Commands::Show]
def initialize(klass, id = nil)
@klass, @id = klass, id
end