Class: Faker::LIRC

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/lirc.rb

Overview

 LIRC-related faker stuff

Class Method Summary collapse

Class Method Details

.button_nameString

Produces a random LIRC response type

Examples:

Faker::LIRC.button_name #=> "KEY_GREEN"

Returns:

  • (String)


12
13
14
# File 'lib/faker/lirc.rb', line 12

def button_name
  fetch('lirc.button_name')
end

.remote_nameString

Produces a random LIRC response type

Examples:

Faker::LIRC.remote_name #=> "RMT-V189-KARAOKE"

Returns:

  • (String)


23
24
25
# File 'lib/faker/lirc.rb', line 23

def remote_name
  fetch('lirc.remote_name')
end

.reply_successString

Produces a random LIRC response success

Examples:

Faker::LIRC.reply_type #=> "SUCCESS"

Returns:

  • (String)


45
46
47
# File 'lib/faker/lirc.rb', line 45

def reply_success
  fetch('lirc.reply_success')
end

.reply_typeString

Produces a random LIRC response type

Examples:

Faker::LIRC.reply_type #=> "SEND_ONCE"

Returns:

  • (String)


34
35
36
# File 'lib/faker/lirc.rb', line 34

def reply_type
  fetch('lirc.reply_type')
end