Module: VV::SymbolMethods

Included in:
Symbol
Defined in:
lib/vv/symbol_methods.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
# File 'lib/vv/symbol_methods.rb', line 4

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#instaObject



14
15
16
# File 'lib/vv/symbol_methods.rb', line 14

def insta
  self.to_s.insta
end

#insta_symObject



18
19
20
# File 'lib/vv/symbol_methods.rb', line 18

def insta_sym
  self.to_s.insta_sym
end

#plural?(*args, **kwargs) ⇒ Boolean



22
23
24
# File 'lib/vv/symbol_methods.rb', line 22

def plural? *args, **kwargs
  self.to_s.plural?( *args, **kwargs )
end

#singular?(*args, **kwargs) ⇒ Boolean



26
27
28
# File 'lib/vv/symbol_methods.rb', line 26

def singular? *args, **kwargs
  self.to_s.singular?( *args, **kwargs )
end