Sha256: 2507fdfb8e40a0f5a842777b06407d5ca86642d50f38482439d9fda1e1abec0c

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

module Stig
  module Generators
    module Symbol
      extend self

      # Public: Generates a random Symbol. See Stig::Generators::String for 
      # usage
      #
      # Returns a Symbol.
      def random(*args)
        Generators::String.random(*args).to_sym
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stig-0.1.0 lib/stig/generators/symbol.rb