Module: ROXML::InstanceMethods::Accessors

Defined in:
lib/roxml.rb

Overview

Instance method equivalents of the Class method accessors

Instance Method Summary collapse

Instance Method Details

#tag_nameObject

Provides access to ROXML::ClassMethods::Accessors::tag_name directly from an instance of a ROXML class



28
29
30
# File 'lib/roxml.rb', line 28

def tag_name
  self.class.tag_name
end

#tag_refsObject

Provides access to ROXML::ClassMethods::Accessors::tag_refs directly from an instance of a ROXML class



34
35
36
# File 'lib/roxml.rb', line 34

def tag_refs
  self.class.tag_refs_without_deprecation
end