Class: MysqlBackup::Entity::Identifier::Log::Current
- Inherits:
-
MysqlBackup::Entity::Identifier::Log
- Object
- MysqlBackup::Entity::Identifier
- MysqlBackup::Entity::Identifier::Log
- MysqlBackup::Entity::Identifier::Log::Current
- Defined in:
- lib/mysql_backup/entity/identifier.rb
Instance Attribute Summary
Attributes inherited from MysqlBackup::Entity::Identifier
#category, #log_file, #log_position, #n_parts, #part_number, #timestamp, #type
Instance Method Summary collapse
Methods inherited from MysqlBackup::Entity::Identifier
#<=>, #[], #initialize, #log_file_number, #merge, #n_digits, string_to_args, #to_hash
Methods included from FactoryCreateMethod
Constructor Details
This class inherits a constructor from MysqlBackup::Entity::Identifier
Instance Method Details
#to_s ⇒ Object
160 161 162 163 |
# File 'lib/mysql_backup/entity/identifier.rb', line 160 def to_s pos = n_digits log_position return "#{category}:type_#{@type}:log_file_#{log_file}:log_position_#{pos}" end |