Sha256: 82a66ac91d4d539082bced6f054414d66278b3d1ede5b7c101ec6a0472e12858

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

class NilClass
  def nature_value
    nil
  end
end

class String
  def nature_value
    self
  end
end

class Class
  def nature_value
    self.name
  end
end

class Module
  def nature_value
    self.name
  end
end

class Symbol
  def nature_value
    to_s
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
source_route-0.0.4 lib/source_route/nature_value.rb
source_route-0.0.3 lib/source_route/nature_value.rb
source_route-0.0.2 lib/source_route/nature_value.rb
source_route-0.0.1 lib/source_route/nature_value.rb