Class: MaglevRecord::MigrationOperations::NullClass

Inherits:
Object
  • Object
show all
Includes:
ClassMethods
Defined in:
lib/maglev_record/migration/operations.rb

Instance Method Summary collapse

Methods included from ClassMethods

#delete_attribute, #delete_instance_variable, #nesting_list, #nesting_name_list, #rename_attribute, #rename_instance_variable

Constructor Details

#initialize(name) ⇒ NullClass

Returns a new instance of NullClass.



118
119
120
# File 'lib/maglev_record/migration/operations.rb', line 118

def initialize(name)
  @name = name
end

Instance Method Details

#change_superclass_to(new_superclass) ⇒ Object



138
139
# File 'lib/maglev_record/migration/operations.rb', line 138

def change_superclass_to(new_superclass)
end

#eachObject



125
126
# File 'lib/maglev_record/migration/operations.rb', line 125

def each
end

#is_able_to_become_superclass_of(base_class) ⇒ Object



135
136
137
# File 'lib/maglev_record/migration/operations.rb', line 135

def is_able_to_become_superclass_of(base_class)
  false
end

#migration_deleteObject



129
130
# File 'lib/maglev_record/migration/operations.rb', line 129

def migration_delete
end

#migration_rename_to(new_name) ⇒ Object



127
128
# File 'lib/maglev_record/migration/operations.rb', line 127

def migration_rename_to(new_name)
end

#new(*args) ⇒ Object



121
122
123
124
# File 'lib/maglev_record/migration/operations.rb', line 121

def new(*args)
  # TODO: test
  raise "This class #{@name} has not been created"
end

#remove_class_method(name) ⇒ Object



133
134
# File 'lib/maglev_record/migration/operations.rb', line 133

def remove_class_method(name)
end

#remove_instance_method(name) ⇒ Object



131
132
# File 'lib/maglev_record/migration/operations.rb', line 131

def remove_instance_method(name)
end