Sha256: 8859a31681a068fc787675b4be4038c7c7a7745e4111b610ac3f5b1ffc4dadff

Contents?: true

Size: 769 Bytes

Versions: 3

Compression:

Stored size: 769 Bytes

Contents

unless ''.respond_to?(:dasherize)
  require 'dry/inflector'

  class String
    %w(
      classify
      constantize
      dasherize
      ordinalize
      pluralize
      singularize
      tableize
      underscore
    ).each do |name|
      define_method name do
        Dry::Inflector.new.send(name, self)
      end
    end
  end
end

require 'json'
require 'html-tag'
require 'clean-hash'

require_relative './joshua/params/define'
require_relative './joshua/params/parse'
require_relative './joshua/params/types'
require_relative './joshua/params/types_errors'
require_relative './joshua/opts'
require_relative './joshua/base'
require_relative './joshua/error'
require_relative './joshua/response'

require_relative './doc/doc'
require_relative './doc/special'



Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
joshua-0.2.2 ./lib/joshua.rb
joshua-0.2.1 ./lib/joshua.rb
joshua-0.1.0 ./lib/joshua.rb