Sha256: 8588b83287e13dac394c4d9fa36a08eb444e142f3ce1e83d5f0f1d038fbd9da1
Contents?: true
Size: 371 Bytes
Versions: 10
Compression:
Stored size: 371 Bytes
Contents
module Weskit::WML::Formatters class ItemFormatter include ::Weskit::WML::Mixins::Validator def initialize item raise_unless ::Weskit::WML::Formatter, item set_instance_variables @formatter = item end private def set_instance_variables defaults.each {|var, value| instance_variable_set "@#{var}", value} end end end
Version data entries
10 entries across 10 versions & 1 rubygems