class Metasploit::Yard::Aruba::RvmEnv::Variable
An environment variable in `rvm env`.
Attributes
name[RW]
@!attribute name
The name of variable being manipulated in `rvm env` @return [String]
Public Class Methods
new(attributes={})
click to toggle source
@param attributes [Hash{Symbol=>String}] @option attributes [String] :name (see name
)
# File lib/metasploit/yard/aruba/rvm_env/variable.rb, line 19 def initialize(attributes={}) attributes.assert_valid_keys(:name) @name = attributes[:name] end
Public Instance Methods
==(other)
click to toggle source
This variable is the same class and has the same {#name} as `other`.
@return [true] if `other.class` is `Metasploit::Yard::Aruba::RvmEnv::Variable` and `other.name` is {#name}. @return [false] otherwise
# File lib/metasploit/yard/aruba/rvm_env/variable.rb, line 29 def ==(other) other.class == self.class && other.name == self.name end