class Armature::Ref::Base
Attributes
canonical_name[R]
human_name[R]
human_type[R]
identity[R]
repo[R]
Public Class Methods
new(repo, canonical_name, identity, human_type, human_name)
click to toggle source
# File lib/armature/ref/base.rb, line 5 def initialize(repo, canonical_name, identity, human_type, human_name) @repo = repo @canonical_name = canonical_name @identity = identity @human_type = human_type @human_name = human_name end
Public Instance Methods
check_out()
click to toggle source
# File lib/armature/ref/base.rb, line 13 def check_out @repo.check_out(self) end
to_s()
click to toggle source
# File lib/armature/ref/base.rb, line 17 def to_s "#{@human_type} \"#{@human_name}\"" end