This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FormModel | |
extend ActiveModel::Naming | |
include ActiveModel::Conversion | |
include ActiveModel::Validations | |
def self.form_fields | |
@form_fields ||= [] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"font_face": "Bitstream Vera Sans Mono", | |
"font_size": 12, | |
"trim_trailing_white_space_on_save": true, | |
"draw_white_space": "selection", | |
"font_options": [ "gray_antialias" ], | |
"tab_size": 2, | |
"translate_tabs_to_spaces": true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static org.junit.Assert.*; | |
import org.junit.*; | |
public class AnswerTest { | |
Answer.Graph g; | |
Answer.Vertex v1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Answer { | |
public String name; | |
public Answer firstChild; | |
public Answer nextSibling; | |
public static <T extends Object> void p(T s){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import java.util.regex.*; | |
/** Quaternions. Basic operations. */ | |
public class Quaternion { | |
public double realPart; | |
public double i; | |
public double j; | |
public double k; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Küsimus 1 | |
Õige | |
Hindamata | |
Flag question |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Küsimus 1 | |
Õige | |
Hindamata | |
Flag question |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Answer { | |
public static void main (String[] argum) { | |
Answer answer = new Answer(); | |
} | |
class Linked { | |
public int value; | |
public Linked parent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Tableless | |
extend ActiveModel::Naming | |
extend ActiveModel::Translation | |
include ActiveModel::Validations | |
include ActiveModel::Conversion | |
include ActiveModel::MassAssignmentSecurity | |
def initialize(params={}) | |
if params | |
sanitized_params = sanitize_for_mass_assignment(params) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Class | |
def instance_advices(include_super=true) | |
throw :never_thrown | |
end | |
end | |
class Test1 | |
end | |
class Test3 < Test1 |