class Hakuban::TagDescriptor
Attributes
json[R]
Public Class Methods
from_ffi(ffi)
click to toggle source
# File lib/hakuban/hakuban.rb, line 199 def self.from_ffi(ffi) TagDescriptor.new(ffi.json) end
new(json)
click to toggle source
# File lib/hakuban/hakuban.rb, line 191 def initialize(json) @json = json end
Public Instance Methods
==(other)
click to toggle source
# File lib/hakuban/hakuban.rb, line 203 def ==(other) @json == other.json end
Also aliased as: eql?
hash()
click to toggle source
# File lib/hakuban/hakuban.rb, line 209 def hash @json.hash end
to_ffi()
click to toggle source
# File lib/hakuban/hakuban.rb, line 195 def to_ffi FFI::FFITagDescriptor.construct(@json) end