Class: FSR::App::BindMetaApp
- Inherits:
-
Application
- Object
- Application
- FSR::App::BindMetaApp
- Defined in:
- lib/fsr/app/bind_meta_app.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#app_name ⇒ Object
It would be better to fix App#app_name to transform CamelCase to snake_case, but that’ll be later.
- #arguments ⇒ Object
-
#initialize(args) ⇒ BindMetaApp
constructor
A new instance of BindMetaApp.
Methods inherited from Application
Constructor Details
#initialize(args) ⇒ BindMetaApp
Returns a new instance of BindMetaApp.
8 9 10 |
# File 'lib/fsr/app/bind_meta_app.rb', line 8 def initialize(args) @options = args end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/fsr/app/bind_meta_app.rb', line 6 def @options end |
Instance Method Details
#app_name ⇒ Object
It would be better to fix App#app_name to transform CamelCase to snake_case, but that’ll be later.
14 15 16 |
# File 'lib/fsr/app/bind_meta_app.rb', line 14 def app_name "bind_meta_app" end |
#arguments ⇒ Object
18 19 20 21 |
# File 'lib/fsr/app/bind_meta_app.rb', line 18 def arguments parameters = [:parameters] ? "::#{[:parameters]}" : "" [[:key], [:listen_to], [:respond_on], [:application] + parameters] end |