class Onoma::Reference
Attributes
Public Class Methods
Source
# File lib/onoma/reference.rb, line 5 def initialize(set, property, foreign_nomenclature, type = :key) @set = set @type = type @property = property @foreign_nomenclature = foreign_nomenclature raise "Invalid nomenclature: #{@foreign_nomenclature.inspect}" unless @foreign_nomenclature.is_a?(Nomenclature) end
Public Instance Methods
Source
# File lib/onoma/reference.rb, line 13 def nomenclature @property.nomenclature end