lib/vkontakte_api/namespace.rb
# An array of all method namespaces.
#
# Lazily loads the list from `namespaces.yml` and caches it.
# @return [Array] An array of strings
An array of all method namespaces.
Lazily loads the list from `namespaces.yml` and caches it.
An array of all method namespaces . Lazily loads the list from ` namespaces . yml ` and caches it .
def names
        if @names.nil?
          filename = File.expand_path('../namespaces.yml', __FILE__)
          @names   = YAML.load_file(filename)
        end
        @names
      end
def names if @names . nil? filename = File . expand_path ( '../namespaces.yml' , __FILE__ ) @names = YAML . load_file ( filename ) end @names end
An array of all method namespaces.
An array of all method namespaces .
An array of strings
An array of strings
Array