Sha256: 60842b3f3a47acae55d76cf4ce8a334cb0e06006864204c54a27036237262c58

Contents?: true

Size: 949 Bytes

Versions: 19

Compression:

Stored size: 949 Bytes

Contents

# This class has virtual methods, which doesn't
# exist in the source but appears in the documentation.
#
# @method #set(key, value)
#   Sets a value
#   @param [String] key describe key param
#   @param [Object] value describe value param
#   @option value [String] string
#   @option value [Integer] number
#   @option value [Object] whatever
#
# @method .get(key)
#   Gets a value
#   @param [String] key describe key param
#   @return [Object] describe value param
#
# @method #delete({key, passion}, foo='bar')
#   Deletes a key from the data.
#
#   Another line
#
#   @param [String] key describe key param
#
#   @example Delete a key.
#     emv = new Example.Methods.Virtual
#     emv.set 'foo', 'bar'
#     val = emv.get 'foo'
#
#     # now, proclaim you're done with foo.
#     emv.delete 'foo'
#
# This line should be part of the class description, and the method declaration
# shouldn't have messed it up.
#
class Example.Methods.Virtual

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ela-4.1.6 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-4.1.5 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-4.1.4 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-4.1.3 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-4.1.2 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-4.1.1 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-4.1.0 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-4.0.0 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-3.4.3 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-3.4.2 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-3.4.0 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-3.3.1 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-3.3.0 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-3.2.0 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-3.1.1 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-3.1.0 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-3.0.0 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-2.0.0 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee
ela-1.1.0 node_modules/codo/spec/_templates/methods/dynamic_methods.coffee