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.



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

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.



81
82
83
# File 'lib/tdl/exlib/itegration.rb', line 81

def api
  @api
end

#names_poolObject

Returns the value of attribute names_pool.



81
82
83
# File 'lib/tdl/exlib/itegration.rb', line 81

def names_pool
  @names_pool
end

#nicknameObject

Returns the value of attribute nickname.



81
82
83
# File 'lib/tdl/exlib/itegration.rb', line 81

def nickname
  @nickname
end

Instance Method Details

#check_same_method(name) ⇒ Object



129
130
131
132
133
# File 'lib/tdl/exlib/itegration.rb', line 129

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