Class: Rubysmith::Configuration::Transformers::GitHubUser

Inherits:
Object
  • Object
show all
Defined in:
lib/rubysmith/configuration/transformers/git_hub_user.rb

Overview

Dynamically adds GitHub user if user is defined.

Instance Method Summary collapse

Instance Method Details

#call(content) ⇒ Object



13
# File 'lib/rubysmith/configuration/transformers/git_hub_user.rb', line 13

def call(content) = content[:git_hub_user] ? Success(content) : user_or(content)