Class: Rails::Worktrees::DatabaseConfigUpdater::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails/worktrees/database_config_updater.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#changedObject

Returns the value of attribute changed

Returns:

  • (Object)

    the current value of changed



5
6
7
# File 'lib/rails/worktrees/database_config_updater.rb', line 5

def changed
  @changed
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



5
6
7
# File 'lib/rails/worktrees/database_config_updater.rb', line 5

def content
  @content
end

#messagesObject

Returns the value of attribute messages

Returns:

  • (Object)

    the current value of messages



5
6
7
# File 'lib/rails/worktrees/database_config_updater.rb', line 5

def messages
  @messages
end

Instance Method Details

#changed?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/rails/worktrees/database_config_updater.rb', line 6

def changed?
  changed
end