Sha256: 57cd777cb5a57a5a1ac80332c2f3a43882e2a2e2aa23eeb5499ef8883921098e

Contents?: true

Size: 227 Bytes

Versions: 1

Compression:

Stored size: 227 Bytes

Contents

module NamedAccessors
  module NamedAccessor
    def named_accessor(name, options={})
      reader, writer = extract_accessor_options(options)

      named_reader(name, reader)
      named_writer(name, writer)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
named_accessors-1.1 lib/named_accessors/named_accessor.rb