Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/git-hack/commit_line_builder.rb

Instance Method Summary collapse

Instance Method Details

#to_class(new_class) ⇒ Object



13
14
15
# File 'lib/git-hack/commit_line_builder.rb', line 13

def to_class(new_class)
	return new_class.new(self)
end