Class: Bizflow::SemanticModel::Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/bizflow/semantic_model/handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options = {})
  @name = name
  @namespace = options[:namespace]
  @description = options[:description]
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



6
7
8
# File 'lib/bizflow/semantic_model/handler.rb', line 6

def description
  @description
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/bizflow/semantic_model/handler.rb', line 6

def name
  @name
end

#namespaceObject

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_nameObject



14
15
16
# File 'lib/bizflow/semantic_model/handler.rb', line 14

def full_name
  "#{namespace}:#{name}"
end