Class: Itegration

Inherits:
Object
  • Object
show all
Defined in:
lib/tdl/exlib/itegration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name_str) ⇒ Itegration

Returns a new instance of Itegration.



85
86
87
88
89
90
91
92
93
# File 'lib/tdl/exlib/itegration.rb', line 85

def initialize(name_str)
    @api = ItgApi.new
    if name_str.to_s.strip.empty?
        @nickname = ""
    else
        @nickname =  "#{name_str.to_s.strip}_"
    end
    _names_pool_inst()
end

Instance Attribute Details

#apiObject

Returns the value of attribute api.



83
84
85
# File 'lib/tdl/exlib/itegration.rb', line 83

def api
  @api
end

#names_poolObject

Returns the value of attribute names_pool.



83
84
85
# File 'lib/tdl/exlib/itegration.rb', line 83

def names_pool
  @names_pool
end

#nicknameObject

Returns the value of attribute nickname.



83
84
85
# File 'lib/tdl/exlib/itegration.rb', line 83

def nickname
  @nickname
end

Instance Method Details

#check_same_method(name) ⇒ Object



131
132
133
134
135
# File 'lib/tdl/exlib/itegration.rb', line 131

def check_same_method(name)
    if respond_to? name.to_s
        raise TdlError.new("Itegration can't Redefine method #{name}")
    end
end