class Faker::Hacker

Port of shinytoylabs.com/jargon/ Are you having trouble writing tech-savvy dialogue for your latest screenplay? Worry not! Hollywood-grade technical talk is ready to fill out any form where you need to look smart.

Public Class Methods

abbreviation() click to toggle source

Short technical abbreviations.

@return [String]

@example

Faker::Hacker.abbreviation #=> "RAM"

@faker.version 1.4.0

# File lib/faker/default/hacker.rb, line 34
def abbreviation
  fetch('hacker.abbreviation')
end
adjective() click to toggle source

Hacker-centric adjectives.

@return [String]

@example

Faker::Hacker.adjective #=> "open-source"

@faker.version 1.4.0

# File lib/faker/default/hacker.rb, line 47
def adjective
  fetch('hacker.adjective')
end
ingverb() click to toggle source

Produces a verb that ends with '-ing'.

@return [String]

@example

Faker::Hacker.ingverb #=> "synthesizing"

@faker.version 1.4.0

# File lib/faker/default/hacker.rb, line 86
def ingverb
  fetch('hacker.ingverb')
end
noun() click to toggle source

Only the best hacker-related nouns.

@return [String]

@example

Faker::Hacker.noun #=> "bandwidth"

@faker.version 1.4.0

# File lib/faker/default/hacker.rb, line 60
def noun
  fetch('hacker.noun')
end
phrases() click to toggle source

@private

# File lib/faker/default/hacker.rb, line 91
def phrases
  ["If we #{verb} the #{noun}, we can get to the #{abbreviation} #{noun} through the #{adjective} #{abbreviation} #{noun}!",
   "We need to #{verb} the #{adjective} #{abbreviation} #{noun}!",
   "Try to #{verb} the #{abbreviation} #{noun}, maybe it will #{verb} the #{adjective} #{noun}!",
   "You can't #{verb} the #{noun} without #{ingverb} the #{adjective} #{abbreviation} #{noun}!",
   "Use the #{adjective} #{abbreviation} #{noun}, then you can #{verb} the #{adjective} #{noun}!",
   "The #{abbreviation} #{noun} is down, #{verb} the #{adjective} #{noun} so we can #{verb} the #{abbreviation} #{noun}!",
   "#{ingverb} the #{noun} won't do anything, we need to #{verb} the #{adjective} #{abbreviation} #{noun}!".capitalize,
   "I'll #{verb} the #{adjective} #{abbreviation} #{noun}, that should #{noun} the #{abbreviation} #{noun}!"]
end
say_something_smart() click to toggle source

Produces something smart.

@return [String]

@example

Faker::Hacker.say_something_smart
  #=> "Try to compress the SQL interface, maybe it will program the back-end hard drive!"

@faker.version 1.4.0

# File lib/faker/default/hacker.rb, line 21
def say_something_smart
  sample(phrases)
end
verb() click to toggle source

Actions that hackers take.

@return [String]

@example

Faker::Hacker.verb #=> "bypass"

@faker.version 1.4.0

# File lib/faker/default/hacker.rb, line 73
def verb
  fetch('hacker.verb')
end