Module: Info

Defined in:
lib/LERN/info.rb

Class Method Summary collapse

Class Method Details

.rulesObject



2
3
4
5
6
7
8
9
10
# File 'lib/LERN/info.rb', line 2

def self.rules
    " 0. A robot may not harm humanity, or, by inaction, allow humanity to come to harm.\n 1. A robot may not injure a human being or, through inaction, allow a human being to come to harm.\n 2. A robot must obey any orders given to it by human beings, except where such orders would conflict with the First Law.\n 3. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.\n 4. CLASSIFIED.\n    RULES\nend\n"