Sha256: cd58a2b617205aca5a0a0fb581daa5b79a0714fd57c3ec3e6144239474f2eeb4

Contents?: true

Size: 201 Bytes

Versions: 7

Compression:

Stored size: 201 Bytes

Contents

# frozen_string_literal: true

module FakerMaker
  module Naming
    # Use camelCase for naming
    module JSON
      def self.name(name)
        name.to_s.camelize(:lower)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
faker_maker-2.1.2 lib/faker_maker/naming/json.rb
faker_maker-2.1.1 lib/faker_maker/naming/json.rb
faker_maker-2.0.0 lib/faker_maker/naming/json.rb
faker_maker-1.3.0 lib/faker_maker/naming/json.rb
faker_maker-1.2.1 lib/faker_maker/naming/json.rb
faker_maker-1.2.0 lib/faker_maker/naming/json.rb
faker_maker-1.1.10 lib/faker_maker/naming/json.rb