public Method

TaskLib.paste(a,b)

Make a symbol by pasting two strings together.

Source Code

# File rake/tasklib.rb, line 13
def paste(a,b)
  (a.to_s + b.to_s).intern
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.