Class: Company
- Inherits:
-
Object
- Object
- Company
- Defined in:
- lib/hello_ruby_cli/company.rb
Overview
Get Company info
Constant Summary collapse
- COMPANIES =
['Braincommerce', 'MadxCompany', 'INNORIX', 'The Ventures Lab'].freeze
Instance Attribute Summary collapse
-
#company_name ⇒ Object
Returns the value of attribute company_name.
Instance Method Summary collapse
- #braincommerce ⇒ Object
-
#initialize(company_name) ⇒ Company
constructor
A new instance of Company.
- #innorix ⇒ Object
- #madx_company ⇒ Object
- #show ⇒ Object
- #the_ventures_lab ⇒ Object
Constructor Details
#initialize(company_name) ⇒ Company
Returns a new instance of Company.
9 10 11 |
# File 'lib/hello_ruby_cli/company.rb', line 9 def initialize(company_name) @company_name = company_name.downcase.gsub(' ', '_') end |
Instance Attribute Details
#company_name ⇒ Object
Returns the value of attribute company_name.
7 8 9 |
# File 'lib/hello_ruby_cli/company.rb', line 7 def company_name @company_name end |
Instance Method Details
#braincommerce ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/hello_ruby_cli/company.rb', line 17 def braincommerce " ___ ___ _____ _ _ _ ___ _____ ___ ___ ___ ___ ( _`\\ | _`\\ ( _ )(_)( ) ( )( _`\\ ( _ )/'\\_/`\\/'\\_/`\\( _`\\ | _`\\ ( _`\\ ( _`\\ | (_) )| (_) )| (_) || || `\\| || ( (_)| ( ) || || || (_(_)| (_) )| ( (_)| (_(_) | _ <'| , / | _ || || , ` || | _ | | | || (_) || (_) || _)_ | , / | | _ | _)_ | (_) )| |\\ \\ | | | || || |`\\ || (_( )| (_) || | | || | | || (_( )| |\\ \\ | (_( )| (_( ) (____/'(_) (_)(_) (_)(_)(_) (_)(____/'(_____)(_) (_)(_) (_)(____/'(_) (_)(____/'(____/' __ __ __ __ __ ___ _ _ /'__`\\ /' _`\\ /'__`\\ /'__`\\ /' _`\\ /'_ ) /' \\/' ) (_) ) )| ( ) |(_) ) )(_) ) ) | ( ) |(_)_) | (_/\\__/' /' / | | | | /' / /' / | | | | _(_ < /' /( )| (_) | /' /( ) /' /( ) _ | (_) |( )_) | (_____/'`\\___/'(_____/'(_____/'(_)`\\___/'`\\____) " end |
#innorix ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/hello_ruby_cli/company.rb', line 54 def innorix " _ _ _ _ _ _____ ___ _ _ _ (_)( ) ( )( ) ( )( _ )| _`\\ (_)( ) ( ) | || `\\| || `\\| || ( ) || (_) )| |`\\`\\/'/' | || , ` || , ` || | | || , / | | > < | || |`\\ || |`\\ || (_) || |\\ \\ | | /'/\\`\\ (_)(_) (_)(_) (_)(_____)(_) (_)(_)(_) (_) __ __ _ _ __ ___ _ _ __ __ _ __ __ _ /'__`\\ /' _`\\ /' ) /'_`\\ /' _`\\ /'_ ) /' \\/' ) /'__`\\ /' _`\\ /' ) /'_ `\\ /' _`\\ /' ) (_) ) )| ( ) |(_, |( (_) ) | ( ) |(_)_) | (_/\\__/' (_) ) )| ( ) |(_, |( (_) | | ( ) |(_, | /' / | | | | | | > _ <' | | | | _(_ < /' / | | | | | | \\__, | | | | | | | /' /( )| (_) | | |( (_) ) _ | (_) |( )_) | /' /( )| (_) | | | | | _ | (_) | | | (_____/'`\\___/' (_)`\\___/'(_)`\\___/'`\\____) (_____/'`\\___/' (_) (_)(_)`\\___/' (_) " end |
#madx_company ⇒ Object
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/hello_ruby_cli/company.rb', line 35 def madx_company " _____ ___ _ _ ___ _____ ___ _____ _ _ _ _ /'\\_/`\\( _ )( _`\\ ( ) ( )( _`\\ ( _ )/'\\_/`\\( _`\\ ( _ )( ) ( )( ) ( ) | || (_) || | ) |`\\`\\/'/'| ( (_)| ( ) || || |_) )| (_) || `\\| |`\\`\\_/'/' | (_) || _ || | | ) > < | | _ | | | || (_) || ,__/'| _ || , ` | `\\ /' | | | || | | || |_) | /'/\\`\\ | (_( )| (_) || | | || | | | | || |`\\ | | | (_) (_)(_) (_)(____/'(_) (_)(____/'(_____)(_) (_)(_) (_) (_)(_) (_) (_) __ __ _ __ __ _____ _ _ __ __ __ _ _ __ /'__`\\ /' _`\\ /' ) /'_ `\\ /' _`\\ ( ___) /' \\/' ) /'__`\\ /' _`\\ /'__`\\ /' ) /' ) /'__`\\ (_) ) )| ( ) |(_, |( (_) | | ( ) || (__ (_/\\__/' (_) ) )| ( ) |(_) ) )(_, | (_, |(_) ) ) /' / | | | | | | \\__, | | | | ||___ `\\ /' / | | | | /' / | | | | /' / /' /( )| (_) | | | | | _ | (_) |( )_) | /' /( )| (_) | /' /( ) | | _ | | /' /( ) (_____/'`\\___/' (_) (_)(_)`\\___/'`\\___/' (_____/'`\\___/'(_____/' (_)(_) (_)(_____/' " end |
#show ⇒ Object
13 14 15 |
# File 'lib/hello_ruby_cli/company.rb', line 13 def show public_send(@company_name) end |
#the_ventures_lab ⇒ Object
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/hello_ruby_cli/company.rb', line 73 def the_ventures_lab " _____ _ _ ___ _ _ ___ _ _ _____ _ _ ___ ___ ___ _ _____ ___ (_ _)( ) ( )( _`\\ ( ) ( )( _`\\ ( ) ( )(_ _)( ) ( )| _`\\ ( _`\\ ( _`\\ ( ) ( _ )( _`\\ | | | |_| || (_(_) | | | || (_(_)| `\\| | | | | | | || (_) )| (_(_)| (_(_) | | | (_) || (_) ) | | | _ || _)_ | | | || _)_ | , ` | | | | | | || , / | _)_ `\\__ \\ | | _ | _ || _ <' | | | | | || (_( ) | \\_/ || (_( )| |`\\ | | | | (_) || |\\ \\ | (_( )( )_) | | |_( )| | | || (_) ) (_) (_) (_)(____/' `\\___/'(____/'(_) (_) (_) (_____)(_) (_)(____/'`\\____) (____/'(_) (_)(____/' __ __ _ _ _ __ _ _ _ __ __ _ _____ _ __ /'__`\\ /' _`\\ /' )( )( ) /' _`\\ /' ) /' \\/' ) /'__`\\ /' _`\\ /' )( ___) /' )/' _`\\ (_) ) )| ( ) |(_, || || | | ( ) |(_, | (_/\\__/' (_) ) )| ( ) |(_, || (__ (_, || ( ) | /' / | | | | | || || |_ | | | | | | /' / | | | | | || _ `\\ | || | | | /' /( )| (_) | | |(__ ,__) _ | (_) | | | /' /( )| (_) | | || (_) | _ | || (_) | (_____/'`\\___/' (_) (_) (_)`\\___/' (_) (_____/'`\\___/' (_)`\\___/'(_) (_)`\\___/' " end |