Methods

Files

Class/Module Index [+]

Quicksearch

StringSymbolAdapter

Public Instance Methods

convert_name(name) click to toggle source
# File lib/mspec/matchers/stringsymboladapter.rb, line 4
def convert_name(name)
  version = SpecVersion.new(RUBY_VERSION) <=> "1.9"
  version < 0 ? name.to_s : name.to_sym
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.