Module: Puffer::Extensions::Symbol

Defined in:
lib/puffer/extensions/core.rb

Instance Method Summary collapse

Instance Method Details

#plural?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/puffer/extensions/core.rb', line 25

def plural?
  to_s.plural?
end

#singular?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/puffer/extensions/core.rb', line 21

def singular?
  to_s.singular?
end