Method: Tangram::Model#id

Defined in:
lib/tangram/tangram.rb

#idObject

Retrieve the model’s id.



264
265
266
267
268
# File 'lib/tangram/tangram.rb', line 264

def id
  c_id = LibTangram::TangramStringView.new
  LibTangram.tangram_model_get_id(@model, c_id)
  c_id.into_string
end