enum DotPrison::Prison::Research::Identifier

Defined in:

dot_prison/prison/research.cr

Enum Members

None = 0
Warden = 1
Maintainance = 2
Security = 3
Legal = 4
MentalHealth = 5
Finance = 6
CCTV = 7
RemoteAccess = 8
Health = 9
Cleaning = 10
GroundsKeeping = 11
Deployment = 12
Patrols = 13
Dogs = 14
PrisonLabour = 15
Education = 16
LandExpansion = 17
Contraband = 18
Policy = 19
Armoury = 20
BodyArmour = 21
Tazers = 22
TazersForEveryone = 23
BankLoans = 24
LowerTaxes1 = 25
LowerTaxes2 = 26
ExtraGrant = 27
AdvancedManagement = 28
Deathrow = 29
PermanentPunishment = 30
RemoveMinCellSize = 31
ReduceExecutionLiability = 32
LegalPrep = 33
LegalDefense = 34
GuardTowers = 35
ForestryLabour = 36
Orderly = 37

Instance Method Summary

Instance methods inherited from class Object

to_prison to_prison

Instance Method Detail

def advanced_management? #

[View source]
def armoury? #

[View source]
def bank_loans? #

[View source]
def body_armour? #

[View source]
def cctv? #

[View source]
def cleaning? #

[View source]
def contraband? #

[View source]
def deathrow? #

[View source]
def deployment? #

[View source]
def dogs? #

[View source]
def education? #

[View source]
def extra_grant? #

[View source]
def finance? #

[View source]
def forestry_labour? #

[View source]
def grounds_keeping? #

[View source]
def guard_towers? #

[View source]
def health? #

[View source]
def land_expansion? #

[View source]
def legal? #

[View source]
def legal_defense? #

[View source]
def legal_prep? #

[View source]
def lower_taxes1? #

[View source]
def lower_taxes2? #

[View source]
def maintainance? #

[View source]
def mental_health? #

[View source]
def none? #

[View source]
def orderly? #

[View source]
def patrols? #

[View source]
def permanent_punishment? #

[View source]
def policy? #

[View source]
def prison_labour? #

[View source]
def reduce_execution_liability? #

[View source]
def remote_access? #

[View source]
def remove_min_cell_size? #

[View source]
def security? #

[View source]
def tazers? #

[View source]
def tazers_for_everyone? #

[View source]
def to_s : String #
Description copied from struct Enum

Returns a String representation of this enum member. In the case of regular enums, this is just the name of the member. In the case of flag enums, it's the names joined by vertical bars, or "None", if the value is zero.

If an enum's value doesn't match a member's value, the raw value is returned as a string.

Color::Red.to_s                     # => "Red"
IOMode::None.to_s                   # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"

Color.new(10).to_s # => "10"

[View source]
def warden? #

[View source]