Top Level Namespace

Defined Under Namespace

Classes: Array, String

Constant Summary collapse

@@Domains =
Regexp.union(@domainEnd)

Instance Method Summary collapse

Instance Method Details

#quickWrite(file, item) ⇒ Object

Random methods and class modifiers to add to my own gem



3
4
5
6
7
# File 'lib/random_methods.rb', line 3

def quickWrite(file, item)
  somefile = open(file, 'a')
  somefile.puts item
  somefile.close
end