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



23
24
25
# File 'lib/roxml.rb', line 23

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



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

def tag_refs
  self.class.tag_refs_without_deprecation
end