Sha256: d64ab05c085a3363d8da72799586a24c52f2a906b5b82b219cbf9aa6b9e0c26c

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

module Indexes
  module Dsl
    class Serializer < Api

      def set(object, *names)
        names.each do |name|
          send name, object.send(name)
        end
      end

      def transliterate(value)
        ActiveSupport::Inflector.transliterate value
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
indexes-0.0.1 lib/indexes/dsl/serializer.rb