Class: Database::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/database/entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#modeObject

Returns the value of attribute mode



2
3
4
# File 'lib/database/entry.rb', line 2

def mode
  @mode
end

#oidObject

Returns the value of attribute oid



2
3
4
# File 'lib/database/entry.rb', line 2

def oid
  @oid
end

Instance Method Details

#tree?Boolean



3
4
5
# File 'lib/database/entry.rb', line 3

def tree?
  mode == Tree::TREE_MODE
end