Class: Bizflow::SemanticModel::Handler
- Inherits:
-
Object
- Object
- Bizflow::SemanticModel::Handler
- Defined in:
- lib/bizflow/semantic_model/handler.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
Instance Method Summary collapse
- #full_name ⇒ Object
-
#initialize(name, options = {}) ⇒ Handler
constructor
A new instance of Handler.
Constructor Details
#initialize(name, options = {}) ⇒ Handler
Returns a new instance of Handler.
8 9 10 11 12 |
# File 'lib/bizflow/semantic_model/handler.rb', line 8 def initialize(name, = {}) @name = name @namespace = [:namespace] @description = [:description] end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/bizflow/semantic_model/handler.rb', line 6 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/bizflow/semantic_model/handler.rb', line 6 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace.
6 7 8 |
# File 'lib/bizflow/semantic_model/handler.rb', line 6 def namespace @namespace end |
Instance Method Details
#full_name ⇒ Object
14 15 16 |
# File 'lib/bizflow/semantic_model/handler.rb', line 14 def full_name "#{namespace}:#{name}" end |