ruby/trema/app.rb in trema-0.2.5 vs ruby/trema/app.rb in trema-0.2.6
- old
+ new
@@ -28,17 +28,21 @@
#
class App < NetworkComponent
include Trema::Daemon
+ #
+ # @return [Trema::DSL::Stanza] a map of key-value pair settings
+ # for trema's dsl run{} syntax.
+ #
attr_reader :stanza
command { | app | [ app.command, app.stanza[ :options ] ].compact.join " " }
#
- # Creates a new Trema application from {Trema::DSL::App}
+ # Creates a new Trema application from {Trema::DSL::Run}
#
# @example
# app = Trema::App.new( stanza )
#
# @return [App]