class GitGraph::Configuration
Attributes
password[RW]
username[RW]
Public Class Methods
block_error()
click to toggle source
# File lib/gitGraph/configuration.rb, line 11 def block_error "A block must be passed in order to set attributes." end
config() { |self| ... }
click to toggle source
# File lib/gitGraph/configuration.rb, line 6 def config raise ArgumentError, block_error if !block_given? yield self end