module Leafy::Mixin::DataAccessor::ClassMethods

Public Instance Methods

leafy_data_attribute() click to toggle source
# File lib/leafy/mixin/data_accessor.rb, line 10
def leafy_data_attribute
  @leafy_data_attribute ||= :leafy_data
end
leafy_data_attribute=(value) click to toggle source
# File lib/leafy/mixin/data_accessor.rb, line 6
def leafy_data_attribute=(value)
  @leafy_data_attribute = value
end
leafy_data_getter() click to toggle source
# File lib/leafy/mixin/data_accessor.rb, line 14
def leafy_data_getter; leafy_data_attribute; end
leafy_data_setter() click to toggle source
# File lib/leafy/mixin/data_accessor.rb, line 16
def leafy_data_setter; "#{leafy_data_attribute}="; end