Sha256: 58987dbe10f870afe56a843b4acddb8f12c25e7729a90f5d052c708b40cdb929
Contents?: true
Size: 466 Bytes
Versions: 1
Compression:
Stored size: 466 Bytes
Contents
dir = File.dirname(__FILE__) require File.join(dir, 'oxmlk/description') module OxMlk def self.included(base) base.class_eval do include InstanceMethods extend ClassMethods end end module InstanceMethods end module ClassMethods def ox_attrs @ox_attrs ||= [] end def ox_attr(name) ox_attrs << name end def tag_name @tag_name ||= to_s.split('::')[-1].downcase end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oxmlk-0.0.0 | lib/oxmlk.rb |