Module: RTM::Validation::Role

Defined in:
rtm/lib/rtm/validation.rb

Instance Method Summary

Instance Method Details

- (Boolean) valid?

Returns:

  • (Boolean)


17
18
19
20
21
22
# File 'rtm/lib/rtm/validation.rb', line 17

def valid?
  return false unless player
  return false unless type
  return false unless parent
  true
end