Sha256: 0ba28ff3d4aef76eb758f2a8070e64fac1319e5f7dc5894311884eab1175f7c1

Contents?: true

Size: 446 Bytes

Versions: 9

Compression:

Stored size: 446 Bytes

Contents

#
# Copyright (c) 2018 Patrick Thomas.  All rights reserved.
#

module Cayuga
  module Tools
    # Cayuga Tools Class
    module Class
      def stringify
        name
      end

      def symbolize
        name.to_sym
      end

      def classify
        self
      end

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

    end
  end
end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cayuga-0.0.10 lib/cayuga/tools/class.rb
cayuga-0.0.9 lib/cayuga/tools/class.rb
cayuga-0.0.8 lib/cayuga/tools/class.rb
cayuga-0.0.7 lib/cayuga/tools/class.rb
cayuga-0.0.6 lib/cayuga/tools/class.rb
cayuga-0.0.5 lib/cayuga/tools/class.rb
cayuga-0.0.4 lib/cayuga/tools/class.rb
cayuga-0.0.3 lib/cayuga/tools/class.rb
cayuga-0.0.2 lib/cayuga/tools/class.rb