Sha256: 2e547d9ed9ee88637f030ddf36eae2c348c38a240b6c637dc5dc580937c0f16a

Contents?: true

Size: 507 Bytes

Versions: 10

Compression:

Stored size: 507 Bytes

Contents

#
# Copyright (c) 2018 Patrick Thomas.  All rights reserved.
#
module Cayuga
  module Tools
    # Cayuga Tools Class
    module Class
      def stringify
        symbolize.stringify
      end

      def symbolize
        # noinspection RubyResolve
        name.methodize.to_sym
      end

      def classify
        self
      end

      def filenamify(extension = nil)
        symbolize.filenamify(extension)
      end

    end
  end
end

Class.include(Cayuga::Tools::Class)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cayuga-0.0.23 lib/cayuga/tools/class.rb
cayuga-0.0.22 lib/cayuga/tools/class.rb
cayuga-0.0.21 lib/cayuga/tools/class.rb
cayuga-0.0.20 lib/cayuga/tools/class.rb
cayuga-0.0.19 lib/cayuga/tools/class.rb
cayuga-0.0.18 lib/cayuga/tools/class.rb
cayuga-0.0.17 lib/cayuga/tools/class.rb
cayuga-0.0.16 lib/cayuga/tools/class.rb
cayuga-0.0.15 lib/cayuga/tools/class.rb
cayuga-0.0.14 lib/cayuga/tools/class.rb