Class: ConvenientService::Examples::Standard::Gemfile::Services::AssertNpmPackageAvailable

Inherits:
Object
  • Object
show all
Includes:
Service::Configs::Standard
Defined in:
lib/convenient_service/examples/standard/gemfile/services/assert_npm_package_available.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ AssertNpmPackageAvailable

Returns a new instance of AssertNpmPackageAvailable.



31
32
33
# File 'lib/convenient_service/examples/standard/gemfile/services/assert_npm_package_available.rb', line 31

def initialize(name:)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



16
17
18
# File 'lib/convenient_service/examples/standard/gemfile/services/assert_npm_package_available.rb', line 16

def name
  @name
end