class Dopstick::Generator::NPM::Options

Public Instance Methods

user_email() click to toggle source
Calls superclass method
# File lib/dopstick/generator/npm/options.rb, line 14
def user_email
  `npm get init.author.email`.chomp.presence ||
    super
end
user_name() click to toggle source
Calls superclass method
# File lib/dopstick/generator/npm/options.rb, line 9
def user_name
  `npm get init.author.name`.chomp.presence ||
    super
end
user_url() click to toggle source
# File lib/dopstick/generator/npm/options.rb, line 19
def user_url
  `npm get init.author.url`.chomp.presence ||
    "https://github.com/#{github_user}"
end